/**
 * 跟踪弹道具
 */
cc.Class({
    extends: cc.Component,

    properties: {

    },


    // onLoad () {},

    start() {

    },

    onBeginContact: function (contact, selfCollider, otherCollider) {
        if (otherCollider.tag === cc.vv.TAG.WALL||otherCollider.tag === cc.vv.TAG.HERO) {
            selfCollider.node.getComponent(cc.Animation).play("mineBoom");

        }
    },
    onCoinBoomFinished() {
        this.node.parent.destroy();
    },
    // update (dt) {},
});
